home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1996 June / EnigmA AMIGA RUN 08 (1996)(G.R. Edizioni)(IT)[!][issue 1996-06][EARSAN CD VII].iso / earcd / texts / hsc.lha / hsc / src_docs / features / strip.hsc < prev    next >
Text File  |  1996-04-17  |  2KB  |  54 lines

  1. <WEBPAGE chapter="hsc - " title="Strip specific elements"
  2.          PREV="rplcent.html" NEXT=":options.html">
  3.  
  4. <H2>SGML-comments</H2>
  5. can be removed from the output by enabling the switch
  6. <op_stripcomment> when invoking <hsc>.
  7.  
  8. <H2>Specific tags</H2>
  9.  
  10. <P>must be passed to the option <op_striptags>, separated by a
  11. "<KBD>|</KBD>". For example, to remove all physical styles,
  12. use <KBD>STRIPTAG="B|I|U|TT"</KBD> when invoking <hsc>.</P>
  13.  
  14. <P>You can't strip tags, which have the
  15. <A HREF=":macro/flag.html">tag flag</A><CODE>/SPECIAL</CODE> set.
  16. But this only concerns the <TG>!</TG>-tag (see above) and some
  17. of <hsc>'s internal tags, which you should not strip anyway.</P>
  18.  
  19. <H2>Tags with external references</H2>
  20.  
  21. <P>can be removed if you want to create a NoNet-version of your
  22. document. Use the switch <op_stripexternal> for this task.
  23. Tags which are affected by this must have an URI-type attribute,
  24. which has the <A HREF=":macro/attrib.html#flags">attribute flag</A>
  25. <CODE>/STRIPEXT</CODE> set within <FILE>hsc.prefs</FILE>.</P>
  26.  
  27. <P>Currently, this affects only the tags <TG>A</TG>, <TG>IMG</TG>
  28. and <TG>LINK</TG>.</P>
  29.  
  30. <H2>Redundant linefeeds and white-spaces</H2>
  31.  
  32. <P>can be removed, if you heavy use them to structure your
  33. source, but don't want to waste bandwidth for them. You only
  34. need to enable the switch <op_compact>.</P>
  35.  
  36. <P>This will make your HTML-object less readable for a user,
  37. but browsers won't care and display it the same way.</P>
  38.  
  39. Currently, <hsc> does:
  40.  
  41. <UL>
  42. <LI>replace tabs by a single space
  43. <LI>replace multiple white-spaces by a single space
  44. <LI>replace multiple linefeeds by a single one
  45. <LI>remove white-spaces preceeding a linefeed
  46. <LI>remove white-spaces at beginning of line
  47. </UL>
  48.  
  49. <P>Linefeeds and white-spaces inside a tag-call are not
  50. affected by this option. The <TG>PRE</TG>-tag temporarily
  51. suppresses this option, until a <TG>/PRE</TG> occures.</P>
  52.  
  53. </WEBPAGE>
  54.